package com.qili.service.supervisor.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.supervisor.ProjectNotice;
import com.qili.entity.supervisor.dto.ProjectNoticeDTO;
import com.qili.mapper.supervisor.ProjectNoticeMapper;
import com.qili.service.supervisor.ProjectNoticeServie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhaoyongke
 * @date 2021/1/17
 * @description
 */
@Service
public class ProjectNoticeServiceImpl  extends BaseServiceImpl<ProjectNotice,String> implements ProjectNoticeServie {

    @Autowired
    ProjectNoticeMapper projectNoticeMapper;
    @Override
    public BaseMapper<ProjectNotice, String> getMappser() {
        return projectNoticeMapper;
    }

    public List<ProjectNoticeDTO> selectNoticeGroup(ProjectNoticeDTO dto){
        return projectNoticeMapper.selectNoticeGroup(dto);
    }


}
